Iso Code Conversions topic

Use the ISO code conversions utilities to convert and classify country and language identifiers between common ISO formats (ISO-2 and ISO-3). This helps when integrating with external systems, datasets, or APIs that expect specific ISO variants.

ISOCodeConversions: Use these helpers to translate country and language codes between ISO-2 and ISO-3 representations and to classify code variants. The utilities return standardized ISO strings and handle common mappings (for example, BRBRA and huhun).

These utilities provide a small, focused surface that removes ambiguity when working with international identifiers. By centralizing conversions, they reduce mapping errors and simplify integrations with external systems that use different ISO standards.

Learn more about ISO code conversions: https://developer.magiclane.com/docs/flutter/guides/get-started/internationalization#iso-code-conversions

Classes

ISOCodeConversions Iso Code Conversions
Utility methods for converting and inspecting ISO country and language codes.

Enums

ISOCodeType Iso Code Conversions
Represents ISO code variants used by the SDK.